<?php

defined('SYSPATH') or die('No direct script access.');


?>
<div id="section-body">
    <div style="float:right">
        <ul class="uibutton-group">
            <li><a class="uibutton icon add" title="Novo <?php echo $section_name;?>" href="<?php echo Kohana::$base_url; ?>manager/user/create">Novo <?php echo $section_name;?></a></li>
            <li><a class="uibutton special delete-all">Excluir</a></li>
        </ul>
    </div>
    <div class=" clear"></div>
    <div class="onecolumn">
    <div class="header">
        <span><span class="ico  gray user  "></span> <?php echo $section_title;?> </span>    
    </div>
    <!-- End header -->	
    <div class=" clear"></div>
    <div class="content" id="section-content">
    <form> 
    <div class="tableName"> 
        
        <!--div role="grid" class="dataTables_wrapper" id="DataTables_Table_0_wrapper">
            <div class="dataTables_filter" id="DataTables_Table_0_filter">
                <label><input type="text" placeholder="Buscar" aria-controls="DataTables_Table_0"></label>
            </div>
         </div>       
        <div style="position:absolute;">
            <div style="float:left">
                <table>
                        <thead>
                                <tr>                            
                                    <th><div class="th_wrapp">Filtrar por:</div></th>
                                </tr>
                        </thead>
                        <tbody>                        
                                <tr>
                                    <td></td>
                                </tr>
                        </tbody>
                </table>        
            </div>
            <div style="float:left">
                <div id="DataTables_Table_0_length" class="dataTables_length">

                <select name="DataTables_Table_0_length" size="1" aria-controls="DataTables_Table_0" class="small">
                    <option value="10" selected="selected">10</option>
                    <option value="25">25</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                </select>

                </div>
            </div>
            
        </div-->
        <table class="display list-table">
                <thead>
                        <tr>                            
                            <th><input type="checkbox" id="checkAll1"  class="checkAll"/></th>
                            <th><div class="th_wrapp">Nome</div></th>
                            <th><div class="th_wrapp">Título</div></th>                            
                            <th><div class="th_wrapp">Opções</div></th>
                        </tr>
                </thead>
                <tbody>
                        <?php foreach ($list as $value) {?>                                           
                        <tr>
                                <td  width="5" ><input type="checkbox" name="checkbox[]" class="chkbox" id="check<?php echo $value->id;?>"/></td>
                                <td><?php echo $value->name;?></td>
                                <td><?php echo $value->title;?></td>                                                           
                                <td >
                                    <span class="tip" >
                                        <a class="bt-edit-data" href="<?php echo Kohana::$base_url; ?>manager/user/create/<?php echo $value->id;?>" title="Editar" >
                                            <img src="<?php echo Kohana::$base_url; ?>manager/media/images/icon/icon_edit.png" >
                                        </a>
                                    </span> 
                                    <span class="tip" >
                                        <a class="bt-delete-data" name="{{fullname}}" registerid="<?php echo $value->id;?>" title="Excluir"  >
                                            <img src="<?php echo Kohana::$base_url; ?>manager/media/images/icon/icon_delete.png" >
                                        </a>
                                    </span> 
                                </td>
                        </tr>
                        <?php }  ?>
                </tbody>
        </table>
        </div>
    </form>

    </div>
    </div>
</div>

    